﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MN.Framework.MetaData
{    
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = true)]
    public class DisplayFieldAttribute : Attribute
    {
        string[] _displayFields;
        public DisplayFieldAttribute(params string[] displayFields)
        {
            _displayFields = displayFields;
        }

        public string[] GetDisplayFields()
        {
            return _displayFields;
        }
    }
}
